home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MATHS
/
RLAB
/
RLAB125.ZIP
/
!RLaB
/
rlib
/
log2
< prev
next >
Wrap
Text File
|
1995-01-17
|
284b
|
15 lines
//-------------------------------------------------------------------//
// Syntax: log2 ( X )
// Description:
// Returns the base 2 logarithm of X
//-------------------------------------------------------------------//
log2 = function ( X )
{
return log (X) ./ log (2);
};